/*
 *  HowlTester.cpp
 *  SoundController0002
 *
 *  Created by : on 11/06/18.
 *  Copyright 2011 jiro music. All rights reserved.
 *
 */

#include "HowlTester.h"

#include "../Howl.h"
#include "../../../sc/Tester/CustomAssert.h"
#include "../../../sc/Common/WellTemperament.h"

namespace sc
{
namespace hs
{
	void HowlTester::TestAll()
	{
		Test_GetFrequency000();
	}

	void HowlTester::Test_GetFrequency000()
	{
		Howl howl( Sound::SawWave, Sound::SawWave, Note::A4, Note::E5, 3, 2 );
		AssertEqualWithError( howl.GetFrequency(), 1.48977, WellTemperament::calculationError );
	}

}
}